<script type="text/javascript">
var username_empty = "[%$lngpack.username_empty%]";
var password_empty = "[%$lngpack.password_empty%]";
var seccode_empty = "[%$lngpack.seescodeerr%]";
</script>
<form id="loginForm"name="mainform" method="post" action="[%$mlink.logindb%]" onSubmit="return memberlogin('[%$mem_isseccode%]')">
	<div>Account: <input type="text" name="username" id="username" class="input_text1" /></div>
	<div>Password: <input type="password" name="password" id="password" class="input_text1" /></div>
	<div>
		<input type="submit" name="handit" id="handit" class="button1" value="Sign In">&nbsp;&nbsp;
		[%if $mem_isseccode==1%]
			<input type="text" id="seccode" name="seccode" class="infoInput" maxlength="4" size="5" style="text-transform: uppercase;"/>
			<img title="[%$lngpack.verification%]" id="memberseccodesrc" onclick="sessionimg('memberseccodesrc','[%$url%]')" src="[%$seccodelink%]" style="cursor: pointer;" align="absmiddle"/>
		[%/if%]
	</div>
	<div style="margin-top:10px;">
		<a href="[%$mlink.reg%]">Registration</a>&nbsp;&nbsp;
		<a href="[%$mlink.lostpasswd%]">Forgot your password?</a>
	</div>
</form>